package xaj.scc;

import java.util.Collection;

import abc.aspectj.parse.AbcLexer;
import abc.aspectj.parse.LexerAction_c;

public class AbcExtension extends abc.main.AbcExtension {

	public void initLexerKeywords(AbcLexer lexer) {
		super.initLexerKeywords(lexer);
		// Adiciona a palavra-chave overrides
		lexer.addJavaKeyword("overrides", new LexerAction_c(new Integer(
				xaj.scc.parse.sym.OVERRIDES)));
		lexer.addJavaKeyword("syntaxclass", new LexerAction_c(new Integer(
				xaj.scc.parse.sym.SYNTAXCLASS)));
		lexer.addJavaKeyword("using", new LexerAction_c(new Integer(
				xaj.scc.parse.sym.USING)));
		lexer.addJavaKeyword("importsyntax", new LexerAction_c(new Integer(
				xaj.scc.parse.sym.IMPORTSYNTAX)));
		lexer.addJavaKeyword("importsymbol", new LexerAction_c(new Integer(
				xaj.scc.parse.sym.IMPORTSYMBOL)));
	}

	public abc.aspectj.ExtensionInfo makeExtensionInfo(
			Collection<String> jar_classes, Collection<String> aspect_sources) {
		return new ExtensionInfo(jar_classes, aspect_sources);
	}
}
